    <script type="text/javascript">
      google.load("visualization", "1", {packages:["corechart"]});
      //google.setOnLoadCallback(drawChart);
      $( document ).ready( drawChart);
      function drawChart() {
        var data = google.visualization.arrayToDataTable([
        	['Datum','Alle','Fertig'],
			<% data=getLineChartData
			data.each_pair do |key, array| %>
				['<%= key %>',<% array.each do |a| %><%= a %>,<% end %>],
			<% end %>
        ]);

        var options = {
          title: 'UserStories'
        };

        var chart = new google.visualization.LineChart(document.getElementById('wrapChart'));
        chart.draw(data, options);
        //@hide is set in sprint_backlog, if @hide is nil => false
        if(<% if @hide %> true <% else %> false <% end %>) {
	        $(document).ready(function(){
	        	//ChartDiv ausbleden, erst hier da es sonst Fehler von Google gibt.
	        	$("#wrapChart").css("display","none");
	        });
		}
      }
    </script>